module.exports = {
	lintOnSave: true,
	devServer: {
		port: 8888,
		proxy: {
			'/api': {
				//服务器api地址
				target: 'http://localhost:8080',
				//是否跨域
				changeOrigin: true,
				pathRewrite: {
					'^/api': ''
				}
			}
		}
	}
}
